#ifndef INCLUDED_BULLET_H
#define INCLUDED_BULLET_H

#include <SGE.h>

using namespace SGE;

class Bullet
{
	private:
		bool mActive;
		SGE_Sprite mSprite;
		SVector2 mPosition;
		SVector2 mVelocity;

	public:
		Bullet ();
		~Bullet ();
		
		bool IsActive () const {return mActive;}
		SCircle GetBoundingCircle () const {return SCircle (mPosition, 10.0f);}

		void Fire (const SVector2& pos, const SVector2& vel);
		void Kill ();

		void Load ();
		void Render ();
		void Unload ();
		void Update (float deltaTime);
};

#endif